#include<iostream>
using namespace std;
int main()
{
    int var=20;
    int *ip;
    ip=&var;
    cout<<"值为："<<var<<endl;
    cout<<"值的地址为："<<ip<<endl;
    cout<<"指针地址的值为："<<*ip<<endl;
}